package com.myhome.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.myhome.domain.CashRecharge;
import com.myhome.domain.CashWithdrawals;
import com.baomidou.mybatisplus.extension.service.IService;
import com.myhome.model.SellCashRechargeParam;

/**
 * @Author QYiXin
 * @Date 2021 10 20 09 37
 **/
public interface CashWithdrawalsService extends IService<CashWithdrawals> {

    Page<CashWithdrawals> findPages(Long userId, String userName, String mobile, Byte status, String numMin, String numMax, String startTime, String endTime, Page<CashWithdrawals> page);

    Page<CashWithdrawals> findCashWithdrawals(Page<CashWithdrawals> page, Long userId, Byte status);
    /**
    * @Description: 查询
    * @Param:
    * @return: java.lang.Boolean
    * @Author: ManolinCoder
    * @Date: 2021/10/29
    */

    Boolean sellCashRecharge(Long userId, SellCashRechargeParam sellCashRechargeParam);

}
